import java.sql.*;


public class CompanyBDBConnection implements DBConnection{
	public Connection createConnection(){
		Connection conn = null;
		try{
			Class.forName("org.hsqldb.jdbcDriver");
			conn = DriverManager.getConnection("jdbc:hsqldb:MyDB2","sa","");
		}catch(SQLException sqle){
			sqle.printStackTrace(System.out);
		
		}catch(ClassNotFoundException cfe){
			cfe.printStackTrace(System.out);
		}		
		
		return conn;
	}

}
